import random
print("---------------小游戏----------------------")

secret = random.randint(1, 10)
temp = input("猜一下我心里想的数字：")
guess = int(temp)

while guess != 8:
    temp = input("猜错了，请重新猜：")
    guess = int(temp)
    if guess == 8:
        print("太他妈准了，恭喜你，猜对了！！！")
    else:
        if guess > 8:
            print("大了哦！")
        else:
            print("小了啊！")
